import xlwings as xw
app = xw.App(visible=False, add_book=False)
workbook = app.books.open('F:\\python\\第4章\\出库表.xlsx')
worksheet = workbook.sheets['Sheet1']
worksheet.range('A4:B4').clear_contents()
worksheet.range('D4:E4').clear()
workbook.save()
workbook.close()
app.quit()
